﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
using System.Threading.Tasks;

namespace Hyjx.DeliveryService.Objects
{
    /// <summary>
    /// 上报成品罐中转罐状态
    /// </summary>
    public class ReportStatusArgs
    {
        /// <summary>
        /// 设备编码
        /// </summary>
        [JsonPropertyName("device_code")]
        public string? DeviceCode { get; set; }
        /// <summary>
        /// 重量地址（KG）
        /// </summary>
        [JsonPropertyName("jar_weight")]
        public double Weight { get; set; }
        /// <summary>
        /// 温度地址（℃）
        /// </summary>
        [JsonPropertyName("jar_temperature")]
        public double Temperature { get; set; }
        /// <summary>
        /// 压力（Kpa）
        /// </summary>
        [JsonPropertyName("jar_pressure")]
        public double Pressure { get; set; }
        /// <summary>
        /// 转速（Rpm）
        /// </summary>
        [JsonPropertyName("jar_speed")]
        public double Speed { get; set; }
    }
}
